<?php
	require_once( "functions/inc_systemFunctions.php" );
	page_header( "Wayne Schlegel Inc. | Route to cash-desk/ exit", true, "myflight" );
?>
		<style type="text/css">
		#floorMap
		{
		display: none;
		}
		</style>
		<script type="text/javascript">
		$(function()
		{
			$("#showMap").click(function(event){
			event.preventDefault();
			$("#floorMap").slideToggle();
		});
		
		$("#floorMap a").click(function(event) {
			event.preventDefault();
		$("#floorMap").slideUp();
		});
		});

		</script>
		
		
		<table class="iTable">
			<tr>
				<td>Your way to cash-desk/ exit</td>
			</tr>
			
			<tr>
				<td>
					<?php echo gotoCashdesk(); ?>
				</td>
			</tr>
			
			<tr class="moreInformation lastItem">
				<td>
					<a href="#" id="showMap"><img src="images/icons/world.png" align="absmiddle" /> floor map</a>
					<image id="floorMap" width="100%" <?php echo "src=\"images/store_map_small_" . $_SESSION["current_position"]["floor"] . ".png\" "?>/>
				</td>
			</tr>
			
		</table>
<?php
	page_footer();
?>